<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <div id="app">
            <input type="button" value="请点击" @click.middle="show"/>
        </div>
        
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <script>
            var vm = new Vue({
                el:'#app',
                data:{
                },
                methods: {
                    show(){
                        window.alert("由vue绑定的事件被触发")
                    }
                }
            })
        </script>
    </body>
</html>